<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS</title>
    <style>
       /*选择器{CSS属性}*/ 
       /* 属性名和属性值成对出现-键值对 */
       p {
        color: blueviolet;
        /* 字号 */
        font-size: 30px;
       }
    </style>
        <!-- <link rel="stylesheet" href="./my.css"> -->
</head>
<body>
    <p>这是p标签</p>
    <p>这是div标签</p>
</body>
</html>